home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
rcs
/
src
/
a4-9.sty
< prev
next >
Wrap
Text File
|
1991-10-29
|
1KB
|
30 lines
\hoffset=-5mm
\voffset=0mm
\normalsize % this sets \baselineskip
\dimen@=198mm
\count@=\dimen@ % value in sp
\advance \count@ by -\topskip % \topskip and \baselineskip will be
\divide \count@ by \baselineskip % coerced to integer, value is in sp
\textheight=\count@\baselineskip % \count@ equals the number of lines - 1
\advance \textheight by \topskip
\topmargin=297mm
\advance \topmargin by -\textheight % place for top and bottom margin
\divide \topmargin by 3 % place for top margin
\advance \topmargin by -20mm % driver margin
\advance \topmargin by -\headheight
\advance \topmargin by -\headsep
\textwidth=140.1mm
\if@twoside
\oddsidemargin=6mm % 26mm - 20mm (driver margin)
\evensidemargin=24mm % 44mm - 20mm (driver margin)
\marginparwidth=33mm % half of total vertical margin
\else
\oddsidemargin=17mm % 37mm - 20mm (driver margin)
\marginparwidth=22mm % third of total vertical margin
\evensidemargin=\maxdimen % usage should result in an error message
\fi
\endinput